<include file="./Tpl/Admin/header.html" />
<div class="main">
  <div class="main_title"> <img src="/Public/Admin/images/book1.gif"/>&nbsp;&nbsp;发起问题 </div>
  <div class="list_body">
    <form action="?s=Admin/Draw/delAll" method="post" id="formid">
      <table cellspacing=0 cellpadding=0 border=0>
        <tr>
          <td colspan=10><a href="?s=Admin/Message/index/status/0" {$status==2?'class="red"':''}>未处理</a>&nbsp;&nbsp;<a href="?s=Admin/Message/index/status/1" {$status==1?'class="red"':''}>已处理</a></td>
        </tr>
        <tr>
          <th width="5%">问题编号</th>
          <th width="10%">用户名</th>
          <th width="15%">问题类型</th>
          <th width="10%">问题描述</th>
          <th width="15%">问题回复</th>
          <th width="20%">提交时间</th>
          <th width="5%">问题状态</th>
          <th width="10%">操作</th>
        </tr>
        <volist name="list" id="vo" empty="$empty">
          <tr>
            <td>{$vo.id}</td>
            <td>{$vo.uname}</td>
            <td>{$vo.type}</td>
            <td>{$vo.content}</td>
            <td>{$vo.huifu}</td>
            <td>{$vo.add_time|date="Y-m-d H:i:s",###}</td>
            <td>{$vo['status']?'已处理':'未处理'}</td>
            <td><eq name="vo.status" value="0"><a href="?s=Admin/Message/save/id/{$vo.id}">回复</a></eq>
              &nbsp;&nbsp;<a href="?s=Admin/Message/message_del/id/{$vo.id}">删除</a></td>
          </tr>
        </volist>
        <tr>
          <td colspan=10 class="page"><!--<a href="?s=Admin/Draw/index/page/1{$urls}">首页</a> <a href="?s=Admin/Draw/index/page/{$page-1}{$urls}">上一页</a> <a href="?s=Admin/Draw/index/page/{$page+1}{$urls}">下一页</a> <a href="?s=Admin/Draw/index/page/{$page_num}{$urls}">尾页</a> -->{$page} </td>
        </tr>
      </table>
    </form>
  </div>
</div>
<script type="text/javascript">
	$(document).ready(function(e) {
        //打开子菜单
			$("#collapseTen").addClass("in");	
    });
</script>
<include file="./Tpl/Admin/footer.html" /> 